package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.example.entity.Order;

import java.util.List;

public interface OrderService extends IService<Order> {

    List<Order> getOrderList(Integer id,Integer type);

    Integer insertOrder(Order order);

    Order getOrderById(String orderNumber);

    Integer updateOrderById(Order order);

    //添加景点订单
    Integer insertScenicOrder(Integer uid,Long orderNumber,String orderName,double price);
}
